package com.gjs.common.enums.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import com.gjs.common.enums.IEntityEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum EducationResourceFileTypeEnum implements IEntityEnum {
    @ApiModelProperty("音频")
    AUDIO(2, "音频"),
    @ApiModelProperty("视频")
    VIDEO(3, "视频"),
    @ApiModelProperty("压缩包")
    ZIP(4, "压缩包"),
    @ApiModelProperty("PPT")
    PPT(5, "PPT"),
    @ApiModelProperty("PDF")
    PDF(6, "PDF"),
    @ApiModelProperty("Word")
    WORD(7, "Word"),
    @ApiModelProperty("Excel")
    EXCEL(8, "Excel"),
    @ApiModelProperty("其他")
    OTHER(9, "其他"),
    ;
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String text;
}
